package com.c6906.vdam.dps.config;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "rocket")
@Data
public class Rocket {

    @ApiModelProperty(value = "Rocket的IP地址")
    private String host;

    @ApiModelProperty(value = "RocketMQ的端口")
    private Integer port;

    @ApiModelProperty(value = "RocketMQ的IP地址和端口")
    private String endpoints;

    @ApiModelProperty(value = "RocketMQ的Tag")
    private String tag;

    @ApiModelProperty(value = "车辆轨迹数据消费者组")
    private String vehicleConsumerGroup;

    @ApiModelProperty(value = "终端上线和离线消费者组")
    private String historyConsumerGroup;

    @ApiModelProperty(value = "禁区判断消费者组")
    private String fenceConsumerGroup;

    @ApiModelProperty(value = "设备基本位置数据Topic")
    private String vehicleTopic;

    @ApiModelProperty(value = "设备在线离线数据Topic")
    private String lineDataTopic;

    @ApiModelProperty(value = "RocketMQ单次批量消费记录条数")
    private int batchSize;

    @ApiModelProperty(value = "RocketMQ启动线程数")
    private int poolSize;

}